Skip to content

PDFVisualContentLocator.HighlightTextSearchResult Method

HighlightTextSearchResult(PDFVisualTextSearchResult)

Highlights the specified search result in the associated PDFDocumentView control.

C#
public bool HighlightTextSearchResult(PDFVisualTextSearchResult result)

Parameters

result PDFVisualTextSearchResult

Search result to highlight.

Remarks

If the search result is not visible, the content is scrolled so that the search result becomes visible.